#include "main.h"
#include "SysTick.h"



void SysTick_init()
{

	SysTick_CLKSourceConfig(SysTick_CLKSource_HCLK_Div8);
	if(SysTick_Config(21000))
		
	{
		printf( "SysTick   err" );
	
	}else 
	{
		printf( "SysTick ok " );
	
	}
	
}


